{{~#if width}}{{#eq width 1}}'100%'{{else}}{{#lt width 1}}`${({{width}} * 100)}%`{{else}}'{{width}}px'{{/lt}}{{/eq}}{{/if}}
{{~#if height}}{{#eq height 1}}'100%'{{else}}{{#lt height 1}}`${({{height}} * 100)}%`{{else}}'{{height}}px'{{/lt}}{{/eq}}{{/if}}